<div class="box grid_8 round_all" style="width:60%">
	<h2 class="box_head grad_colour">Thêm chuyên mục</h2>
	<a href="#" class="grabber">&nbsp;</a>
	<a href="#" class="toggle">&nbsp;</a>
	<div class="toggle_container">
		<div class="block">
			<form id="Form" method="POST" enctype="multipart/form-data" action="<?php echo base_url().'category/addCat'; ?>">							
				<label>Ngôn ngữ</label>
				<div class="input_group">
					<select name="cat_lang">
					{lang}
						<option value="{id_ngonngu}">
							{ngonngu}
						</option>						
					{/lang}
					</select>
				</div>
				
				<label>Tiêu đề chuyên mục <?php echo form_error('title_category');?></label> 
				<input id="notempty" name="title_category" title="This field has an HTML5 autofocus property" type="text" class="medium" autofocus> 				
				
				<label>Loại chuyên mục</label> 
				<div class="input_group">
					<select name="cat_type">
						<option value="1">
							Tin bài
						</option>
						<option value="2">
							Video
						</option>						
					</select>
				</div>
						
				<button class="button_colour round_all"><?php echo img(array('src' => 'images/icons/small/white/Bended%20Arrow%20Right.png' , 'height' => '24' , 'width' => '24' , 'alt' => 'Bended Arrow Right')) ?><span>Thêm tin mới</span></button> 							
			</form>
			
			<script type="text/javascript"> 
	            var notempty = new LiveValidation('notempty');
				notempty.add( Validate.Presence );

				var atleast = new LiveValidation('atleast');
				atleast.add( Validate.Length, { minimum: 30 } );

			</script>
		</div>
	</div>
</div>